//
//  AddressFunc.m
//  GasCome
//
//  Created by zfc on 2020/5/7.
//  Copyright © 2020 zfc. All rights reserved.
//

#import "AddressFunc.h"

@implementation AddressFunc


+ (void)getDefaultAddressSuccessBlock:(void (^)(NSDictionary *response))successBlock failureBlock:(void (^)(NSError *error))failureBlock {
    NSString *url = @"/api/tiny-shop/v1/member/address/default";
    [[NetWorksTools shared] requestWithMethod:GET url:url params:nil successBlock:^(NSDictionary * _Nonnull response) {
        if (successBlock) {
            successBlock(response);
        }
    } failureBlock:^(NSError * _Nonnull error) {
        if (failureBlock) {
            failureBlock(error);
        }
    }];
}
@end
